<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="../../../common/layui/css/layui.css" rel="stylesheet" media="all" />
<script type="text/javascript" src="../../../common/js/jQuery-3.3.1.js"></script>
<script src="../../../common/layui/layui.js"></script>
</head>
<body>
	<fieldset class="layui-elem-field layui-field-title"
		style="margin-top: 20px;">
		<legend>文章详情</legend>
	</fieldset>

		<div class="layui-form-item">
			<label class="layui-form-label">ID</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" value="${log.logId}" readonly="readonly">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">标题名</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" value="${log.logTitle}" readonly="readonly">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">导语</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" value="${log.logGuide}" readonly="readonly">
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">作者</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" value="${log.authorName}" readonly="readonly">
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">内容</label>
			<div class="layui-input-block">
				<textarea name="desc" class="layui-textarea" readonly="readonly">${log.logContent}</textarea>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">类型</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" value="${log.logType}" readonly="readonly">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">发表时间</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" value="${log.logTimestr}" readonly="readonly">
			</div>
		</div>	
		
		<div class="layui-form-item">
			<label class="layui-form-label">设备</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" value="${log.logSource}" readonly="readonly">
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">阅读量</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" value="${log.logReadnum}" readonly="readonly">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">分享数</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" value="${log.logSharenum}" readonly="readonly">
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">点赞数</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" value="${log.logZannum}" readonly="readonly">
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">评论数</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" value="${log.logCommentnum}" readonly="readonly">
			</div>
		</div>
		
		<div class="layui-form-item" style="width: 300px">
			<label class="layui-form-label">封面图片</label>
			<div class="layui-input-block">
				<img class="layui-upload-img" id="headerimg" 
						src="http://localhost:8082/serverpath/${log.logImgpath}"
						width="200px" height="200px">
			</div>
		</div>


</body>
</html>